<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-10 11:22:24 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>git credential-store</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Git">
                                Git                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="1a66b1356960cce3fb7061afefbe31aa5e548268a3914c679f2a4bb787128426/5b" data-source="git-credential-store" onmousemove="i18n(this)">git-credential-store</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="d52b2f909c8aaad75c4110101f4cf85cd58d652f119e07d341d0c7a349c12ee9/cf" data-source="git-credential-store - Helper to store credentials on disk" onmousemove="i18n(this)">git-credential-store &mdash; &Pcy;&ocy;&mcy;&ocy;&shchcy;&ncy;&icy;&kcy; &dcy;&lcy;&yacy; &khcy;&rcy;&acy;&ncy;&iecy;&ncy;&icy;&yacy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &ncy;&acy; &dcy;&icy;&scy;&kcy;&iecy;</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <div> <pre class="hljs language-lua">git <span class="hljs-built_in">config</span> credential.helper <span class="hljs-string">&apos;store [&lt;options&gt;]&apos;</span></pre> </div> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <div> <div class="table-responsive"><table class="table"> <tr> <td> <div><span data-i18n="d8da2c49df39d91df7ecd199b92da7bf264f026242ccc69b08daeadfe587c45b/a2" data-source="Note" onmousemove="i18n(this)">Note</span></div> </td> <td><span data-i18n="6512679ed34ca71551629c83c78ac7b3ed2f525b4dc21b0d0fb98a08e365ac2a/09" data-source="Using this helper will store your passwords unencrypted on disk, protected only by filesystem permissions. If this is not an acceptable security tradeoff, try &lt;a href=&quot;git-credential-cache&quot;&gt;git-credential-cache[1]&lt;/a&gt;, or find a helper that integrates with secure storage provided by your operating system." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&ocy;&mcy;&ocy;&shchcy;&ncy;&icy;&kcy;&acy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&icy;&tcy; &vcy;&acy;&shcy;&icy; &pcy;&acy;&rcy;&ocy;&lcy;&icy; &vcy; &ncy;&iecy;&zcy;&acy;&shcy;&icy;&fcy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ocy;&mcy; &vcy;&icy;&dcy;&iecy; &ncy;&acy; &dcy;&icy;&scy;&kcy;&iecy;,  protected , &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&jcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy;. &IEcy;&scy;&lcy;&icy; &ecy;&tcy;&ocy; &ncy;&iecy;&pcy;&rcy;&icy;&iecy;&mcy;&lcy;&iecy;&mcy;&ycy;&jcy; &kcy;&ocy;&mcy;&pcy;&rcy;&ocy;&mcy;&icy;&scy;&scy; &scy; &tcy;&ocy;&chcy;&kcy;&icy; &zcy;&rcy;&iecy;&ncy;&icy;&yacy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ocy;&scy;&tcy;&icy;, &pcy;&ocy;&pcy;&rcy;&ocy;&bcy;&ucy;&jcy;&tcy;&iecy;  <a href="git-credential-cache.html">git-credential-cache[1]</a>  &icy;&lcy;&icy; &ncy;&acy;&jcy;&dcy;&icy;&tcy;&iecy; &pcy;&ocy;&mcy;&ocy;&shchcy;&ncy;&icy;&kcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &icy;&ncy;&tcy;&iecy;&gcy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy; &scy; &bcy;&iecy;&zcy;&ocy;&pcy;&acy;&scy;&ncy;&ycy;&mcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&iecy;&mcy;, &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&mcy;&ycy;&mcy; &vcy;&acy;&shcy;&iecy;&jcy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&ocy;&ncy;&ncy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ocy;&jcy;.</span></td> </tr> </table></div> </div> <p><span data-i18n="06e0957ae50a0f899a64107f95d9bd339fb0d36212ba4658105da0460bd0bf53/3b" data-source="This command stores credentials indefinitely on disk for use by future Git programs." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&iecy;&tcy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &ncy;&acy; &dcy;&icy;&scy;&kcy;&iecy; &ncy;&acy; &ncy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &scy;&rcy;&ocy;&kcy; &dcy;&lcy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &bcy;&ucy;&dcy;&ucy;&shchcy;&icy;&mcy;&icy; &pcy;&rcy;&ocy;&gcy;&rcy;&acy;&mcy;&mcy;&acy;&mcy;&icy;  Git .</span></p> <p><span data-i18n="03abfcaacd9ef62b62127a722526c01f01a5a3ec9141d9dba89813820c87d288/57" data-source="You probably don&amp;rsquo;t want to invoke this command directly; it is meant to be used as a credential helper by other parts of git. See &lt;a href=&quot;gitcredentials&quot;&gt;gitcredentials[7]&lt;/a&gt; or &lt;code&gt;EXAMPLES&lt;/code&gt; below." onmousemove="i18n(this)">&Vcy;&iecy;&rcy;&ocy;&yacy;&tcy;&ncy;&ocy;, &vcy;&ycy; &ncy;&iecy; &zcy;&acy;&khcy;&ocy;&tcy;&icy;&tcy;&iecy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&tcy;&softcy; &ecy;&tcy;&ucy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy; &ncy;&acy;&pcy;&rcy;&yacy;&mcy;&ucy;&yucy;; &ocy;&ncy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy; &dcy;&lcy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &pcy;&ocy;&mcy;&ocy;&shchcy;&ncy;&icy;&kcy;&acy; &pcy;&ocy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&mcy; &dcy;&acy;&ncy;&ncy;&ycy;&mcy; &vcy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &chcy;&acy;&scy;&tcy;&yacy;&khcy; git. &Scy;&mcy;.  <a href="gitcredentials.html">gitcredentials[7]</a>  &icy;&lcy;&icy;  <code>EXAMPLES</code>  &ncy;&icy;&zhcy;&iecy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_options"><span data-i18n="d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39/b6" data-source="Options" onmousemove="i18n(this)">Options</span></h2> <div> <div> <dl> <dt id="Documentation/git-credential-store.txt---fileltpathgt"><span data-i18n="9ecf31c6d529f85ec1bc773393e42cc059a9eaba8a88c05a1fd45afa15dac912/9d" data-source="--file=&amp;lt;path&amp;gt;" onmousemove="i18n(this)">--file=&lt;path&gt;</span></dt> <dd> <p><span data-i18n="4979589bd6fb26e67c179c22368230cc52d57af73bb34bdb9df657e3d8055bec/1e" data-source="Use &lt;code&gt;&amp;lt;path&amp;gt;&lt;/code&gt; to lookup and store credentials. The file will have its filesystem permissions set to prevent other users on the system from reading it, but it will not be encrypted or otherwise protected. If not specified, credentials will be searched for from &lt;code&gt;~/.git-credentials&lt;/code&gt; and &lt;code&gt;$XDG_CONFIG_HOME/git/credentials&lt;/code&gt;, and credentials will be written to &lt;code&gt;~/.git-credentials&lt;/code&gt; if it exists, or &lt;code&gt;$XDG_CONFIG_HOME/git/credentials&lt;/code&gt; if it exists and the former does not. See also &lt;a href=&quot;#FILES&quot;&gt;FILES&lt;/a&gt;." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;  <code>&lt;path&gt;</code>  &dcy;&lcy;&yacy; &pcy;&ocy;&icy;&scy;&kcy;&acy; &icy; &khcy;&rcy;&acy;&ncy;&iecy;&ncy;&icy;&yacy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy;. &Dcy;&lcy;&yacy; &fcy;&acy;&jcy;&lcy;&acy; &bcy;&ucy;&dcy;&ucy;&tcy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ycy; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy;, &chcy;&tcy;&ocy;&bcy;&ycy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&icy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy; &ncy;&iecy; &mcy;&ocy;&gcy;&lcy;&icy; &iecy;&gcy;&ocy; &pcy;&rcy;&ocy;&chcy;&icy;&tcy;&acy;&tcy;&softcy;, &ncy;&ocy; &ocy;&ncy; &ncy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &zcy;&acy;&shcy;&icy;&fcy;&rcy;&ocy;&vcy;&acy;&ncy; &icy;&lcy;&icy; &zcy;&acy;&shchcy;&icy;&shchcy;&iecy;&ncy; &icy;&ncy;&ycy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;. &IEcy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;, &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&scy;&kcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy;  <code>~/.git-credentials</code>  &icy;  <code>$XDG_CONFIG_HOME/git/credentials</code> , &acy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy;  <code>~/.git-credentials</code> , &iecy;&scy;&lcy;&icy; &ocy;&ncy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;, &icy;&lcy;&icy; &vcy;  <code>$XDG_CONFIG_HOME/git/credentials</code> , &iecy;&scy;&lcy;&icy; &ocy;&ncy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;, &acy; &pcy;&iecy;&rcy;&vcy;&ycy;&jcy; &ncy;&iecy;&tcy;. &Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy;  <a href="git-credential-store.html#FILES">FILES</a> .</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="FILES"><span data-i18n="abc7e9892806b047b4d4786b3685285543f76ca314c4c76246d5f6544c7856c9/5d" data-source="Files" onmousemove="i18n(this)">Files</span></h2> <div> <p><span data-i18n="ee4ffa0fc8c07f0aeb6dbf478d263d26d9e572da58885067f287b8ad9abe54f7/fe" data-source="If not set explicitly with &lt;code&gt;--file&lt;/code&gt;, there are two files where git-credential-store will search for credentials in order of precedence:" onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy; &yacy;&vcy;&ncy;&ocy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>--file</code>  , &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &dcy;&vcy;&acy; &fcy;&acy;&jcy;&lcy;&acy;, &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; git-credential-store &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&kcy;&acy;&tcy;&softcy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&iecy; &pcy;&rcy;&icy;&ocy;&rcy;&icy;&tcy;&iecy;&tcy;&acy;:</span></p> <div> <dl> <dt id="Documentation/git-credential-store.txt-git-credentials"><span data-i18n="8b0a5fb12e3043147c0d25f0ac3d40cb428399d67d83e06050b4a4264922b4c4/cb" data-source="~/.git-credentials" onmousemove="i18n(this)">~/.git-credentials</span></dt> <dd> <p><span data-i18n="a421f22f832e3621fa762d056ea280e5cef9275361b0f81d6e370f852e8ed543/26" data-source="User-specific credentials file." onmousemove="i18n(this)">&Pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;&scy;&kcy;&icy;&jcy; &fcy;&acy;&jcy;&lcy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy;.</span></p> </dd> <dt id="Documentation/git-credential-store.txt-XDGCONFIGHOMEgitcredentials"><span data-i18n="b3c5e6d84f1f367b9235c2dfe63ccce578a27993f70afd4631d46acb6e984302/c6" data-source="$XDG_CONFIG_HOME/git/credentials" onmousemove="i18n(this)">$XDG_CONFIG_HOME/git/credentials</span></dt> <dd> <p><span data-i18n="0b1f37da4d9c1ffb62bb0d248622452c41d2a00566a4ee33000d7c6a53921cbd/53" data-source="Second user-specific credentials file. If &lt;code&gt;$XDG_CONFIG_HOME&lt;/code&gt; is not set or empty, &lt;code&gt;$HOME/.config/git/credentials&lt;/code&gt; will be used. Any credentials stored in this file will not be used if &lt;code&gt;~/.git-credentials&lt;/code&gt; has a matching credential as well. It is a good idea not to create this file if you sometimes use older versions of Git that do not support it." onmousemove="i18n(this)">&Vcy;&tcy;&ocy;&rcy;&ocy;&jcy; &fcy;&acy;&jcy;&lcy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &kcy;&ocy;&ncy;&kcy;&rcy;&iecy;&tcy;&ncy;&ocy;&gcy;&ocy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy;. &IEcy;&scy;&lcy;&icy;  <code>$XDG_CONFIG_HOME</code>  &ncy;&iecy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy; &icy;&lcy;&icy; &pcy;&ucy;&scy;&tcy;, &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy;  <code>$HOME/.config/git/credentials</code> . &Lcy;&yucy;&bcy;&ycy;&iecy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy;, &khcy;&rcy;&acy;&ncy;&yacy;&shchcy;&icy;&iecy;&scy;&yacy; &vcy; &ecy;&tcy;&ocy;&mcy; &fcy;&acy;&jcy;&lcy;&iecy;, &ncy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy;  <code>~/.git-credentials</code>  &tcy;&acy;&kcy;&zhcy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy;. &Ncy;&iecy; &rcy;&iecy;&kcy;&ocy;&mcy;&iecy;&ncy;&dcy;&ucy;&iecy;&tcy;&scy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&vcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy;&tcy; &fcy;&acy;&jcy;&lcy;, &iecy;&scy;&lcy;&icy; &vcy;&ycy; &icy;&ncy;&ocy;&gcy;&dcy;&acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&iecy; &bcy;&ocy;&lcy;&iecy;&iecy; &scy;&tcy;&acy;&rcy;&ycy;&iecy; &vcy;&iecy;&rcy;&scy;&icy;&icy;  Git , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &iecy;&gcy;&ocy; &ncy;&iecy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&yucy;&tcy;.</span></p> </dd> </dl> </div> <p><span data-i18n="f8c6f0a52883d1e32069157a0025ef5ad532e18ef4f08dbb2c2c151038349506/9f" data-source="For credential lookups, the files are read in the order given above, with the first matching credential found taking precedence over credentials found in files further down the list." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &pcy;&ocy;&icy;&scy;&kcy;&iecy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&ycy; &scy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; &vcy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&iecy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&mcy; &vcy;&ycy;&shcy;&iecy;, &pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &pcy;&iecy;&rcy;&vcy;&ycy;&jcy; &ncy;&acy;&jcy;&dcy;&iecy;&ncy;&ncy;&ycy;&jcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&jcy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &pcy;&rcy;&icy;&ocy;&rcy;&icy;&tcy;&iecy;&tcy; &ncy;&acy;&dcy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&mcy;&icy; &dcy;&acy;&ncy;&ncy;&ycy;&mcy;&icy;, &ncy;&acy;&jcy;&dcy;&iecy;&ncy;&ncy;&ycy;&mcy;&icy; &vcy; &fcy;&acy;&jcy;&lcy;&acy;&khcy;, &rcy;&acy;&scy;&pcy;&ocy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ncy;&ycy;&khcy; &dcy;&acy;&lcy;&softcy;&shcy;&iecy; &pcy;&ocy; &scy;&pcy;&icy;&scy;&kcy;&ucy;.</span></p> <p><span data-i18n="90628206ea2adfbe80bc8cb71e0fc32b5c6ab7bccdcb78cfd4c5a9c3f68f2336/71" data-source="Credential storage will by default write to the first existing file in the list. If none of these files exist, &lt;code&gt;~/.git-credentials&lt;/code&gt; will be created and written to." onmousemove="i18n(this)">&KHcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&iecy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&iecy;&tcy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy; &pcy;&iecy;&rcy;&vcy;&ycy;&jcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&jcy; &fcy;&acy;&jcy;&lcy; &vcy; &scy;&pcy;&icy;&scy;&kcy;&iecy;. &IEcy;&scy;&lcy;&icy;  none  &ecy;&tcy;&icy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;, &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy; &icy; &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;  <code>~/.git-credentials</code> .</span></p> <p><span data-i18n="9e7989ff5cd9fd1587ab70e678d7ad787901d400dfe2d0e38a73536cedac8211/b6" data-source="When erasing credentials, matching credentials will be erased from all files." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&icy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ycy; &icy;&zcy; &vcy;&scy;&iecy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_examples"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h2> <div> <p><span data-i18n="da192aa177bf1cb4a4b2716dd6447e2b8965a971198a04e870749df1f9f88200/15" data-source="The point of this helper is to reduce the number of times you must type your username or password. For example:" onmousemove="i18n(this)">&TScy;&iecy;&lcy;&softcy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&ocy;&mcy;&ocy;&shchcy;&ncy;&icy;&kcy;&acy; &mdash; &scy;&ocy;&kcy;&rcy;&acy;&tcy;&icy;&tcy;&softcy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ocy; &rcy;&acy;&zcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &vcy;&acy;&mcy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &vcy;&vcy;&ocy;&dcy;&icy;&tcy;&softcy; &icy;&mcy;&yacy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy; &icy;&lcy;&icy; &pcy;&acy;&rcy;&ocy;&lcy;&softcy;. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;:</span></p> <div> <div> <pre class="hljs language-ruby"><span class="hljs-variable">$ </span>git config credential.helper store
<span class="hljs-variable">$ </span>git push <span class="hljs-symbol">http:</span>/<span class="hljs-regexp">/example.com/repo</span>.git
<span class="hljs-title class_">Username</span>: &lt;type your username&gt;
<span class="hljs-title class_">Password</span>: &lt;type your password&gt;

[several days later]
<span class="hljs-variable">$ </span>git push <span class="hljs-symbol">http:</span>/<span class="hljs-regexp">/example.com/repo</span>.git
[your credentials are used automatically]</pre> </div> </div> </div> <h2 class="text-body-emphasis"  id="_storage_format"><span data-i18n="422fd054ca3b83423555c555cad54bf6ec81047d1ef15a9610f372254df1cd24/10" data-source="Storage format" onmousemove="i18n(this)">Storage format</span></h2> <div> <p><span data-i18n="42c1be919ff28ff09f8a56081a5eea3c6915f9d4009f9f6c24854f208de6c3e8/b1" data-source="The &lt;code&gt;.git-credentials&lt;/code&gt; file is stored in plaintext. Each credential is stored on its own line as a URL like:" onmousemove="i18n(this)">&Fcy;&acy;&jcy;&lcy;  <code>.git-credentials</code>  &khcy;&rcy;&acy;&ncy;&icy;&tcy;&scy;&yacy; &vcy; &vcy;&icy;&dcy;&iecy; &ocy;&tcy;&kcy;&rcy;&ycy;&tcy;&ocy;&gcy;&ocy; &tcy;&iecy;&kcy;&scy;&tcy;&acy;. &Kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &khcy;&rcy;&acy;&ncy;&yacy;&tcy;&scy;&yacy; &vcy; &ocy;&tcy;&dcy;&iecy;&lcy;&softcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy; &vcy; &vcy;&icy;&dcy;&iecy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;:</span></p> <div> <div> <pre class="hljs language-perl">https:<span class="hljs-regexp">//us</span>er:<a href="https://runebook.dev/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="334352404073564b525e435f561d505c5e">[email&#160;protected]</a></pre> </div> </div> <p><span data-i18n="03ee92e50ea68dbbffec3b892b5486cbccb533bc22729f8463b6c2ec1cd4e9e7/11" data-source="No other kinds of lines (e.g. empty lines or comment lines) are allowed in the file, even though some may be silently ignored. Do not view or edit the file with editors." onmousemove="i18n(this)">&Ncy;&icy;&kcy;&acy;&kcy;&icy;&iecy; &dcy;&rcy;&ucy;&gcy;&icy;&iecy; &tcy;&icy;&pcy;&ycy; &scy;&tcy;&rcy;&ocy;&kcy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &pcy;&ucy;&scy;&tcy;&ycy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &icy;&lcy;&icy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &kcy;&ocy;&mcy;&mcy;&iecy;&ncy;&tcy;&acy;&rcy;&icy;&iecy;&vcy;) &vcy; &fcy;&acy;&jcy;&lcy;&iecy; &ncy;&iecy; &dcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy;&yucy;&tcy;&scy;&yacy;, &khcy;&ocy;&tcy;&yacy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &icy;&zcy; &ncy;&icy;&khcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;. &Ncy;&iecy; &pcy;&rcy;&ocy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&jcy;&tcy;&iecy; &icy; &ncy;&iecy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy; &vcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy;&acy;&khcy;.</span></p> <p><span data-i18n="d4be4a42f82cbfa92f0338641b9f94cf4d4cfb6b7b510a7a6e83b6d0952c99dd/6b" data-source="When Git needs authentication for a particular URL context, credential-store will consider that context a pattern to match against each entry in the credentials file. If the protocol, hostname, and username (if we already have one) match, then the password is returned to Git. See the discussion of configuration in &lt;a href=&quot;gitcredentials&quot;&gt;gitcredentials[7]&lt;/a&gt; for more information." onmousemove="i18n(this)">&Kcy;&ocy;&gcy;&dcy;&acy;  Git  &tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;&scy;&yacy; &acy;&ucy;&tcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yacy; &dcy;&lcy;&yacy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy;&acy; URL-&acy;&dcy;&rcy;&iecy;&scy;&acy;, &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&iecy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &bcy;&ucy;&dcy;&iecy;&tcy; &rcy;&acy;&scy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy;&tcy; &kcy;&ocy;&ncy;&tcy;&iecy;&kcy;&scy;&tcy; &kcy;&acy;&kcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy; &dcy;&lcy;&yacy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &scy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &zcy;&acy;&pcy;&icy;&scy;&softcy;&yucy; &vcy; &fcy;&acy;&jcy;&lcy;&iecy; &ucy;&chcy;&iecy;&tcy;&ncy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy;. &IEcy;&scy;&lcy;&icy; &pcy;&rcy;&ocy;&tcy;&ocy;&kcy;&ocy;&lcy;, &icy;&mcy;&yacy; &khcy;&ocy;&scy;&tcy;&acy; &icy; &icy;&mcy;&yacy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy; (&iecy;&scy;&lcy;&icy; &ocy;&ncy;&ocy; &ucy; &ncy;&acy;&scy; &ucy;&zhcy;&iecy; &iecy;&scy;&tcy;&softcy;) &scy;&ocy;&vcy;&pcy;&acy;&dcy;&acy;&yucy;&tcy;, &tcy;&ocy; &pcy;&acy;&rcy;&ocy;&lcy;&softcy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&shchcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy;  Git . &Dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &scy;&mcy;. &vcy; &ocy;&bcy;&scy;&ucy;&zhcy;&dcy;&iecy;&ncy;&icy;&icy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &vcy;  <a href="gitcredentials.html">gitcredentials[7]</a> .</span></p> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/git-credential-store">https://git-scm.com/docs/git-credential-store</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                               <ins class="adsbygoogle"
        style="display:block"
        data-ad-format="autorelaxed"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="7867651344"></ins>
   <script data-cfasync="false" src="../../../cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script>
        (adsbygoogle = window.adsbygoogle || []).push({});
   </script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-cvsexportcommit.html">
                            git cvsexportcommit                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-cvsimport.html">
                            git cvsimport                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-cvsserver.html">
                            git cvsserver                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-daemon.html">
                            git daemon                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-describe.html">
                            git describe                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-diagnose.html">
                            git diagnose                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-diff.html">
                            git diff                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="git-credential-store.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>